/**
 * Created by dllo on 18/3/30.
 */
public class Test01 {
    public static void main(String[] args) {
        for (int abc = 0; abc < 999; abc++) {
            int a = abc / 100;//求出百位数
            int b = abc % 100 / 10;//求出十位数
            int c = abc % 100 % 10;//求出个位数
            int cba = c * 100 + b * 10 + a;
            if (abc + cba == 1333) {
                System.out.println(abc);
            }

        }

    }
}
